{template 'public/header'}
{template 'public/comhead'}
<link rel="stylesheet" type="text/css" href="../addons/zh_tcwq/template/public/ygcss.css">
<style type="text/css">
    .yginp{width: 50%;}
    .ygspan{line-height: 35px;margin-left: 10px;}
</style>
<ul class="nav nav-tabs">
    <span class="ygxian"></span>
    <div class="ygdangq">当前位置:</div>
 <li><a href="{php echo $this->createWebUrl('recommend',array('type'=>all));}">推荐管理</a></li>
  <li class="active"><a href="{php echo $this->createWebUrl('addrecommend',array('type'=>all));}">添加推荐</a></li>
</ul>
<div class="main ygmain">
    <form action="" method="post" class="form-horizontal form" enctype="multipart/form-data">
        <!--<input type="hidden" name="parentid" value="{$parent['id']}" />-->
        <div class="panel panel-default ygdefault">
            <div class="panel-heading wyheader">
                内容编辑
            </div>
            <div class="panel-body">
              <div class="form-group">
                    <label class="col-xs-12 col-sm-3 col-md-2 control-label">股票代码</label>
                    <div class="col-sm-5">
                        <input type="text" name="gid" class="form-control" value="{$info['gid']}" />

                            <span class="help-block" style="color:red">*股票编号，上海股市以sh开头，深圳股市以sz开头</span>
                    </div>
                </div>   
                  <div class="form-group">
                    <label class="col-xs-12 col-sm-3 col-md-2 control-label">股票名称</label>
                    <div class="col-sm-5">
                        <input type="text" name="gp_name" class="form-control" value="{$info['gp_name']}" />
                    </div>
                </div>         
                <div class="form-group">
                    <label class="col-xs-12 col-sm-3 col-md-2 control-label">排序</label>
                    <div class="col-sm-8">
                        <input type="text" name="sort" class="form-control " value="{$info['sort']}" />
                         <span class="help-block">*数字越小越靠前</span>
                    </div>
                </div>
              
            </div>

        </div>

        <div class="form-group">
            <input type="submit" name="submit" value="提交" class="btn col-lg-3" style="color: white;background-color: #44ABF7;"/>
            <input type="hidden" name="token" value="{$_W['token']}" />
            <input type="hidden" name="id" value="{$info['id']}" />
        </div>
    </form>
</div>
<script type="text/javascript">
    $(function(){
        $("#frame-1").show();
        $("#yframe-1").addClass("wyactive");
    })
</script>